package com.lfk.three.db;

import com.lfk.three.utils.database.LabelName;
import com.lfk.three.utils.database.Node;
import com.lfk.three.utils.database.TableName;

/**
 * Created by liufengkai on 16/4/9.
 */
@TableName(tableName = "content")
public class content_db extends Node {
    @LabelName(columnName = "content_id", generatedId = true)
    private int content_id;

    @LabelName(columnName = "content_title")
    private String content_title;

    @LabelName(columnName = "content_name")
    private String content_time;

    @LabelName(columnName = "content_content")
    private String content_content;

    public content_db(int content_id,
                      String content_title,
                      String content_time,
                      String content_content) {
        super(content_id, content_title, content_time, content_content);
        this.content_id = content_id;
        this.content_title = content_title;
        this.content_time = content_time;
        this.content_content = content_content;
    }

    public int getContent_id() {
        return content_id;
    }

    public void setContent_id(int content_id) {
        this.content_id = content_id;
    }

    public String getContent_title() {
        return content_title;
    }

    public void setContent_title(String content_title) {
        this.content_title = content_title;
    }

    public String getContent_time() {
        return content_time;
    }

    public void setContent_time(String content_time) {
        this.content_time = content_time;
    }

    public String getContent_content() {
        return content_content;
    }

    public void setContent_content(String content_content) {
        this.content_content = content_content;
    }
}
